# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class BillingItemPrice(object):

    def __init__(self, itemCode=None, itemValue=None, itemNumber=None, itemPrice=None, itemDiscount=None, itemAfterFavorablePrice=None, itemDiscountedPrice=None, itemBaseUnitPrice=None, itemDiscountRatio=None, itemFavorableInfo=None, itemPriceSnapshot=None):
        """
        :param itemCode: (Optional) 计费项编码
        :param itemValue: (Optional) 计费项值
        :param itemNumber: (Optional) 计费项数量
        :param itemPrice: (Optional) 计费项原价(6位)
        :param itemDiscount: (Optional) 计费项折扣金额(6位)
        :param itemAfterFavorablePrice: (Optional) 计费项折扣后金额(6位，计费项折扣后金额=计费项原价-计费项折扣金额)
        :param itemDiscountedPrice: (Optional) 计费项应付金额(2位，由资源应付金额分摊计算获得)
        :param itemBaseUnitPrice: (Optional) 计费项基础单价(9位，计费项单位定价，存在多个阶梯定价时返回最低阶梯单价)
        :param itemDiscountRatio: (Optional) 计费项折扣率
        :param itemFavorableInfo: (Optional) 计费项优惠信息
        :param itemPriceSnapshot: (Optional) 计费项价格快照
        """

        self.itemCode = itemCode
        self.itemValue = itemValue
        self.itemNumber = itemNumber
        self.itemPrice = itemPrice
        self.itemDiscount = itemDiscount
        self.itemAfterFavorablePrice = itemAfterFavorablePrice
        self.itemDiscountedPrice = itemDiscountedPrice
        self.itemBaseUnitPrice = itemBaseUnitPrice
        self.itemDiscountRatio = itemDiscountRatio
        self.itemFavorableInfo = itemFavorableInfo
        self.itemPriceSnapshot = itemPriceSnapshot
